<template>
	<view>
		<uni-nav-bar @clickLeft="back()" color="#ffffff" status-bar fixed :shadow="false" :border="false" left-icon="back"
		 left-text="" backgroundColor="#FB545A" :title="title"></uni-nav-bar>
		<web-view style="width: 100%;height: 100%" :src="url"></web-view>
	</view>
</template>

<script>
	import uniNavBar from '@/components/uni-nav-bar/uni-nav-bar.vue'
	export default{
		components:{
			uniNavBar,
		},
		data(){
			return {
				title:"",
				url:""
			}
		},
		methods:{
			back() {
				uni.navigateBack({
					delta:1
				})
			},
		},
		onLoad(e){
			this.url = decodeURIComponent(e.url);
			this.title = e.title;
		}
	}
</script>

<style>
</style>
